package com.tcm.doctor.domain.enums;

import com.base.core.result.ResponseCodeEnum;

/**
 * 错误码枚举类
 * <p>
 * 科室系统，使用 1-004-000-000 段
 */
public enum BusinessCodeEnum implements ResponseCodeEnum {



    //++++++++++++++医生身份实名认证模块+++++++++++++++++++
    DOCTOR_USER_NOT_EXISTS(1004003005, "医生账号信息不存在"),
    DOCTOR_USER_ID_NOT_EXISTS(1004001007,"医生账号ID不能为空"),
    DOCTOR_ID_NOT_EXISTS(1004003006, "医生id不存在"),
    DOCTOR_VERIFY_CHECK_FAIL(1004003007, "医生认证审核失败"),
    PROVINCE_ID_NOT_EXISTS(1004003008, "请选择省份"),
    CITY_ID_NOT_EXISTS(1004003009, "请选择城市"),
    AREA_ID_NOT_EXISTS(1004003010, "请选择地区"),
    JOB_TITLE_ID_NOT_EXISTS(1004003011, "请选择职称"),
    DEPARTMENT_ID_NOT_EXISTS(1004003012, "请选择科室"),
    TOKEN_FAIL_PARSE(1004003013, "token解析失败"),
    FAILED_TO_QUERY_DOCTOR(1004003014, "查询医生信息失败"),
    ILLEGAL_LEVEL_VALUE(1002001003, "非法的职称等级"),

    //++++++++++++医生诊疗服务设置++++++++++++++++++++++++++
    SERVICE_NAME_NOT_FOUND(1004003015, "诊疗服务标识名不可空"),
    SERVICE_TITLE_NOT_FOUND(1004003016, "诊疗服务名称不可空"),
    SERVICE_VALUES_NOT_FOUND(1004003017, "诊疗服务内容不可空"),

    //===============医生账户模块=====================
    Type_NOT_EXISTS(1004006001, "类型数据不存在"),
    MONEY_NOT_EXISTS(1004006002, "金额数据不存在"),
    HOSPITAL_NOT_EXISTS(1004006003, "医院不存在"),

    //===============医生提现模块=====================
    EXTRACT_TYPE_NOT_EXISTS(1004007003, "提现方式不存在"),
    BACK_CODE_NOT_EXISTS(1004007004, "银行卡号不存在"),
    BACK_ADDRESS_NOT_EXISTS(1004007005, "开户地址不存在"),
    ALIPAY_CODE_NOT_EXISTS(1004007006, "支付宝账号不存在"),
    WECHAT_CODE_NOT_EXISTS(1004007007, "微信账号不存在"),
    CURRENT_MONEY_NOT_ENOUGH(1004007008, "余额不足"),
    PROVICE_NOT_EXISTS(1004007009, "开户省份未填写"),
    CITY_NOT_EXISTS(1004007010, "开户市未填写"),
    ACCOUNT_NAME_NOT_EXISTS(1004007011, "开户名称未填写"),
    CARD_NO_NOT_EXISTS(1004007012, "开户卡号未填写"),
    AMOUNT_IS_NOT_REACHED(1004007013, "未达到最低提现金额"),
    AMOUNT_HAS_BEEN_EXCEEDED(1004007014, "已超出今日最大提现金额"),
    ;


    private final int code;
    private final String message;

    BusinessCodeEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
